'use strict'

import React,{Component} from 'react';
import ReactDom from 'react-dom';

//es6 语法
class WebpackApp extends Component{
	render(){
		return(
			<div>
			<h1>Welcome</h1>
			</div>
			);
	}
}

ReactDom.render(
	<WebpackApp/>,
	document.querySelector("#app")
);